/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.observer;

import java.rmi.Remote;
import java.rmi.RemoteException;
import br.ufrn.dimap.projetodetalhadodesoftware.chatrmi.model.util.Message;

/**
 *
 * @author Jorge
 */
public interface Subject extends Remote{

    void Notify(Message message) throws RemoteException;

    void Attach(Remote o)throws RemoteException;
  
    void Detach(Remote o) throws RemoteException;

}
